package com.example.basics.basics_one;

public class AbstractInterface extends Bubbl_Sort implements IAbstractInterface{
    //abstract extends 抽象继承 is-a     implements interface  实现接口 like-a    @Autoword have-a
    //抽象 继承 都是抽象类 ，都不能实例化

    @Override
    public void helo() {

    }
}
abstract class Animal{
    String name;
    int age;

    public  abstract  void cry();
}
class cat extends Animal{
        public void cry(){
            System.out.println("猫叫：");
        }
}
